package cn.congzhou.crm.service;

import cn.congzhou.crm.domain.Role;
import cn.congzhou.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {

    int deleteByPrimaryKey(Long id);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    void saveOrUpdate(Role role, Long[] ids);

    PageInfo<Role> selectByPage(QueryObject qo);


}
